/**
 * 左遍导航
 * @extends Ext.view.View
 */
Ext.define('MobileTest.view.nav.SideBar', {
    alias: 'widget.navsidebar',
    extend: 'Ext.view.View',
    
    initComponent: function() {
        Ext.apply(this, {       
            margins:'5 5 5 0',
            dock: 'left',
            width: 180,
            border: false,
            cls: 'sidebar-list',
            
            selModel: {
                deselectOnContainerClick: false
            },
            
            store: '',
            itemSelector: '.product',
            tpl: [
                '<div class="sidebar-title">选择操作</div>',
                '<tpl for=".">',
                    '<div class="product">{desc}</div>',
                '</tpl>'
            ]
        });
                
        this.callParent(arguments);
    }
});